using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Geoconcepts.Types;
using Geoconcepts.SpatialServices;



namespace Geoconcepts.Acquisition
{
    public class Kml2Owl
    {
        public Kml2Owl()
        {
        }

        public GeoconceptsDataSet ConverGisFileToGeoconceptsDataset(string gisFile)
        {
            try
            {
                KmlServices oKmlServices = new KmlServices();
                return oKmlServices.GetDataSetFromGisFile(gisFile);

            }
            catch (Exception exc)
            {
                throw (exc);
            }
        }   

        public GeoconceptsDataSet ConvertKmlToGeoconceptsDataset(string kmlFile)
        {
            try
            {
                KmlServices oKmlServices = new KmlServices();
                return oKmlServices.GetDataSetFromGisFile(kmlFile);

            }
            catch (Exception exc)
            {
                throw (exc);
            }
        }   

    }
}
